/* styles.css */

/* 页面基础样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 标题 */
h1 {
    margin: 20px 0;
    font-size: 24px;
    color: #333;
}

/* 商品信息 */
.info {
    margin-bottom: 20px;
    text-align: left;
}

.info h1,
.info p {
    margin: 5px 0;
    font-size: 16px;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 10px 0;
}

/* 表单样式 */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

form input[type="text"],
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 14px;
}

form input[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}

/* 隐藏隐藏字段 */
form input[type="text"][style*="display:none"] {
    display: none;
}
